package com.outlook.util;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 
 * @author watson
 *
 */
public class HttpHeaderConfigHelper {

	public static void configJSONHeader(HttpServletRequest request,
			HttpServletResponse response) {
		response.setHeader("Cache-Control", "nocache");
//		resp.setHeader("", "utf-8");
		response.setContentType("application/json;charset=UTF-8");   
		response.setCharacterEncoding("UTF-8");
		response.setHeader("Connection", "Keep-Alive");
	}

}
